package com.norma.macaron.service;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author zhangchaofeng
 * @date 2020/6/3 0003
 * @description
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.norma.macaron.service.common.client")
public class MacaronFacadeApplication {
    public static void main(String[] args) {
        SpringApplication.run(MacaronFacadeApplication.class,args);
    }
//    @Bean
//    public RestTemplate restTemplate() {
//        return new RestTemplate(new OkHttp3ClientHttpRequestFactory());
//    }
}
